#!/usr/bin/env python
# coding=utf-8
# __author__ = 'Yunchao Ling'

import os
import sys
import time

start = int(sys.argv[1])
end = int(sys.argv[2])

for i in xrange(start, end + 1):
    time1 = time.time()
    os.system("sh pmc_workflow.sh " + str(i))
    time2 = time.time() - time1
    print "work " + str(i) + " time: " + str(time2)

